package com.sangeng.constants;

public class SystemConstants
{
    /**
     *  文章是草稿
     */
    public static final int ARTICLE_STATUS_DRAFT = 1;
    /**
     *  文章是正常分布状态
     */
    public static final int ARTICLE_STATUS_NORMAL = 0;

    public static final String STATUS_NORMAL = "0";

    /**
     *  友链状态为审核通过
     */
    public static final String LINK_STATUS_NORMAL = "0";

    /**
     *  当前页码
     */
    public static final int CURRENT_PAGE = 1;
    /**
     *  每页展示的数量
     */
    public static final int NUMBER_PER_PAGE = 10;

    public static final int ROOT_ID_OF_ROOT_COMMENT = -1;

    /**
     * 评论类型为：友联评论
     */
    public static final String LINK_COMMENT = "1";
    /**
     * 评论类型为：文章评论
     */
    public static final String ARTICLE_COMMENT = "0";

    /**
     * 文章浏览量存到redis时的key
     */
    public static final String ARTICLE_VIEW_COUNT = "article:viewCount";
}